* {
    padding: 0px;
    margin: 0px;
    box-sizing: border-box;
}
.project{
    width: 1000px;
    margin: 60px auto 0px auto;
    font-size: 24px;
    font-weight: lighter;

}

.im-container {
    width: 1000px;
    height: 600px;
    border: 1px solid #f0f0f0;
    margin: 14px auto;
    box-sizing: content-box;
    box-shadow: 0px 0px 10px #aaa;
    position: relative;
    display: flex;
    flex-flow: row nowrap;
}

.mask {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    display: none;
    opacity: 0;
    z-index: 998;
}

.session-list-container {
    flex: 0 0 200px;
    background: #f9f9f9;
    overflow: auto;
}

.session-item {
    /*display: flex;*/
    /*flex-flow: row nowrap;*/
    /*align-items: center;*/
    margin: 0px 0px 4px;
    padding: 8px;
    background: #f9f9f9;
    cursor: pointer;
}

.session-item:hover {
    background: #f1f1f1;
}

.session-item-active {
    background: #f1f1f1;
}

.session-item .session-avatar {
    width: 48px;
    height: 48px;
    border-radius: 48px;
    overflow: hidden;
}

.session-item .session-avatar img {
    width: 48px;
    height: 48px;
}

.session-item .unread {
    display: none;
    padding: 3px 6px;
    background: red;
    color: white;
    border-radius: 10px;
    font-size: 10px;
}

.session-container {
    flex: 1 0 auto;
}

.top {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #f0f0f0;
    height: 64px;
    padding: 0px 12px;
    box-sizing: border-box;
}

.curr-seesion-name {
    font-weight: bold;
    font-size: 18px;
}

.user-info {
    display: flex;
    flex-direction: row;
    align-items: center;
    color: #aaaaaa;
    margin-right: 16px;
}

.current-user-avatar {
    border-radius: 100%;
    border: 1px solid #f1f1f1;
}

.current-user {
    margin-left: 8px;
    /*color: #aaaaaa;*/
}

.current-total {
    margin: 0px 5px;
    display: none;
}

.history-total {
    margin-left: 5px;
    display: none;
}

.left {
    flex: 0 0 120px;
    border-right: 1px solid #f0f0f0;
    overflow: auto;
}

.center {
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
    border-right: 1px solid #f0f0f0;
}

.information {
    flex: 1 0 auto;
    max-height: calc(100% - 120px);
    overflow-y: auto;
}

.operation {
    flex: 0 0 120px;
    display: flex;
    flex-direction: column;
}

.right {
    flex: 0 0 150px;
    /*overflow: auto;*/
}

.group-users {
    display: none;
    height: 100%;
}

.group-users-list {
    height: calc(100% - 32px);
    overflow: auto;
}

.current-user-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 18px;
    border-bottom: 1px solid #f0f0f0;
}


.friend-user-container {
    display: none;
    flex-direction: column;
    align-items: center;
    padding: 18px;
    border-bottom: 1px solid #f0f0f0;
}

.friend-user-avatar {
    width: 100px;
    border-radius: 100%;
    border: 1px solid #f1f1f1;
}

.friend-user {
    margin-top: 18px;
    color: #aaaaaa;
}

.tools {
    flex: 0 0 auto;
    border-top: 1px solid #f0f0f0;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.emoji-container {
    position: absolute;
    left: 4px;
    top: -254px;
    display: none;
    border: 1px solid #f0f0f0;
    padding: 6px;
    width: 400px;
    font-size: 26px;
    z-index: 999;
    background: #fff;
    box-shadow: 0px 0px 10px #aaa;
}

.emoji-container span {
    cursor: pointer;
}

.tools i {
    margin: 8px;
    color: #999;
    cursor: pointer;
    font-size: 18px;
}

.typing {
    flex: 1 0 auto;
    border-width: 0px;
    outline-width: 0px;
    padding: 0px 12px;
    resize: none;
}

.online-user {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin: 3px;
    padding: 3px;
    cursor: pointer;
}

.online-user:hover {
    background: #ededed;
}

.online-user .avatar {
    width: 20px;
    height: 20px;
    border-radius: 5px;
}

.online-user .nickname {
    margin-left: 4px;
    font-size: 10px;
    color: #666;
}

.info {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    color: #aaaaaa;
    margin: 10px 0px;
}

.info-self {
    justify-content: flex-end;
}

.info-other {
    justify-content: flex-start;
}

.info .avatar {
    width: 32px;
    height: 32px;
    border-radius: 5px;
    overflow: hidden;
    margin: 0px 12px;
}

.info .content {
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
}

.content-other {
    justify-content: flex-start;
    align-items: flex-start;
}

.content-self {
    justify-content: flex-end;
    align-items: flex-end;
}

.name {
    font-size: 12px;
    color: #999;
}

.text {
    padding: 8px 12px;
    background: lightgreen;
    color: #444;
    border-radius: 6px;
    margin-top: 6px;
    max-width: calc(100% - 80px);
}

.text-self {
    background: deepskyblue;
    color: white;
}

.gray {
    filter: grayscale(1);
}

/*定义滚动条高宽及背景 高宽分别对应横竖滚动条的尺寸*/
::-webkit-scrollbar {
    width: 6px; /*滚动条宽度*/
    height: 6px; /*滚动条高度*/
}

/*定义滚动条轨道 内阴影+圆角*/
::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    border-radius: 3px; /*滚动条的背景区域的圆角*/
    background-color: #fcfcfc; /*滚动条的背景颜色*/
}

/*定义滑块 内阴影+圆角*/
::-webkit-scrollbar-thumb {
    border-radius: 3px; /*滚动条的圆角*/
    -webkit-box-shadow: inset 0 0 3px rgba(0, 0, 0, .3);
    background-color: #aaaaaa; /*滚动条的背景颜色*/
}